package com.example.hj.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.hj.entity.ClassInfo;
import com.example.hj.mapper.ClassInfoMapper;
import com.example.hj.service.IClassInfoService;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author huangjian
 * @since 2019-05-30
 */
@Service
public class ClassInfoServiceImpl extends ServiceImpl<ClassInfoMapper, ClassInfo> implements IClassInfoService {

    @Override
    @Cacheable(value = "getClassInfoList")
    public List<ClassInfo> list() {
        return super.list();
    }
}
